﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CqusInfo.RAL.Question
{
    /// <summary>
    /// tb_Question  意见表
    /// </summary>
    public class QuestionModel
    {
        public string c_vc_qId { get; set; }
        public string c_vc_userName { get; set; }
        public Int32 c_i_type { get; set; }
        public string c_vc_content { get; set; }
        public string c_vc_title { get; set; }
        public DateTime c_dt_dateTime { get; set; }
        public bool c_b_isReplay { get; set; }
        public Int32 c_i_readNO { get; set; }
        public bool c_b_isDel { get; set; }

        /// <summary>
        /// 无参构造函数
        /// </summary>
        public QuestionModel()
        {

        }

        /// <summary>
        /// 有参构造函数
        /// </summary>
        /// <param name="oId">tb_Question ID</param>
        /// <param name="userName">用户名</param>
        /// <param name="type">类别  0：情感心路 1：每日一说 2：图像秀 3：留言板 4：娱乐八卦 5：校园生活 6： 百态人生 7：你我新说8：脑筋急转弯9：数字逻辑10：flash小游戏 11：皮肤背景</param>
        /// <param name="content">内容</param>
        /// <param name="title">标题</param>
        /// <param name="dateTime">发表时间</param>
        /// <param name="isReplay">是否回复</param>
        /// <param name="readNO">阅读次数</param>
        /// <param name="isDel">是否删除</param>
        public QuestionModel(string oId, string userName, string content, string title, DateTime dateTime, Int32 type, bool isReplay, Int32 readNO, bool isDel)
        {
            this.c_vc_qId = oId;
            this.c_vc_userName = userName;
            this.c_i_type = type;
            this.c_vc_content = content;
            this.c_b_isReplay = isReplay;
            this.c_i_readNO = readNO;
            this.c_b_isDel = isDel;
        }
    }
}
